package cn.vshare.dao;

import cn.vshare.entity.Coin;
import org.springframework.stereotype.Repository;

@Repository
public interface CoinDao {
    void addUserCoin(Coin coin);
    void updateUserCoin(Coin coin);
    Coin queryByUserId(String userId);

    int querySumCoinByVideoId(String videoId);

}
